/*
 * @Description: 
 * @Author: HKH
 * @Date: 2024-09-10 09:17:19
 * @LastEditors: HKH
 * @LastEditTime: 2024-09-10 09:44:31
 */
public class Testteacher {
    public static void main(String[] args) {
        Teacher teacher1=new Teacher();
        teacher1.setId("001");
        teacher1.setName("韩");
        teacher1.setGender("男");
        teacher1.sayHello();
      System.out.println("teacher1.getId(): " + teacher1.getId());
      System.out.println("teacher1.getGender(): " + teacher1.getName());
  
      // 创建一个 Account 的对象
      Teacher teacher2=new Teacher("002","男");
      teacher2.sayHello();
      System.out.println("teacher2.getId(): " + teacher2.getId());
      System.out.println("teacher2.getGender(): " + teacher2.getGender());
  
      // 创建一个 Account 的对象
      Teacher teacher3=new Teacher("003","李","男");
      teacher3.sayHello();
      System.out.println("teacher3.getId(): " + teacher3.getId());
      System.out.println("teacher3.getName(): " + teacher3.getName());
      System.out.println("teacher3.getGender(): " + teacher3.getGender());
    }
}